Total Complexity | 99 |
Dependencies | 6 |
Dependents | 1 |
Total lines | 288 |
Lines of code | 192 |
Logical lines of code | 105 |
Comment lines | 68 |
Methods | 11 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
applyDiscounts() | 42 | 29 | 44 | |
addItemText() | 47 | 13 | 31 | |
updateItemPrice() | 55 | 9 | 17 | |
checkCartItemExistingQuantity() | 56 | 9 | 15 | |
updateRegularPrice() | 60 | 8 | 12 | |
maybeRestoreOtherItems() | 60 | 7 | 12 | |
changeCartItemVariant() | 53 | 6 | 21 | |
maybeRemoveQuantityInput() | 61 | 6 | 12 | |
removeInvalidItems() | 61 | 5 | 12 | |
maybeRemoveOtherItems() | 67 | 4 | 7 | |
maybeRemoveRemoveLink() | 65 | 3 | 9 |